.box {
    width: 100%;
    height: 100%;

}

.main {
    width: 100%;
    height: 500px;
    overflow: auto;
}

.list1,
.list2 {
    display: flex;
    align-items: center;
    margin: 10px;
}

.list1 {
    flex-direction: row-reverse;
}

.list1 img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.list1 p {
    padding: 10px 25px;
    background-color: green;
    color: #fff;
    border-radius: 10px;
}

.list2 img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.list2 p {
    padding: 10px 25px;
    background-color: skyblue;
    color: #000;
    border-radius: 10px;
}